package com.wangzhixuan.commons.filestorage.local;

import com.wangzhixuan.commons.filestorage.FileStorageConfig;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.URL;

import javax.validation.constraints.NotBlank;

/**
 * 本地存储配置
 *
 * @author lixin
 */
@Data
@Builder
@ApiModel("本地文件存储配置")
@EqualsAndHashCode(callSuper = true)
public class LocalFileStorageConfig extends FileStorageConfig {
    @ApiModelProperty("文件保存位置")
    private String path;
    @ApiModelProperty("本地文件访问根路径")
    private String visitPath;
}
